#ifndef TIMER_HPP
#define TIMER_HPP

#include "Global.hpp"
#include <QTime>

namespace Neon
{
/*!
* Measures FPS (Frames Per Second).
*/
class NEON_DLL Timer
{
public:
	/*!
	Creates a Timer.
	*/
	Timer();
	/*!
	Resets the timer.
	*/
	void reset();
	/*!
	Gets the milliseconds.
	*\return Gets the milliseconds of the timer.
	*/
	nulong milliseconds() const;
private:
	QTime m_startClock;
}; // End of class Timer.

} // End of namespace Neon

#endif // TIMER_HPP
